<div class="header layui-bg-molv" >
    <div class="header-wrap">
        <h1 class="logo pull-left">
            <a href="/Auth/Index">
                <img src="/static/images/logo.png" alt="" class="logo-img">
                <img src="/static/images/logo-text.png" alt="" class="logo-text">
            </a>
        </h1>
        <form class="layui-form blog-seach pull-left" action="/Auth/Index">
            <div class="layui-form-item blog-sewrap">
                <div class="layui-input-block blog-sebox">
                    <i class="layui-icon layui-icon-search"></i>
                    <label>
                        <input type="text" name="search" lay-verify="title" autocomplete="off"  class="layui-input">
                    </label>
                </div>
            </div>
        </form>
        <div class="blog-nav pull-right">
            <ul class="layui-nav pull-left">
                <li class="layui-nav-item {{if equrl .path `/Auth/Index`}}layui-this{{ end }} "><a href="/Auth/Index">首页</a></li>
                <li class="layui-nav-item {{if equrl .path `/Auth/Message`}}layui-this{{ end }} "><a href="/Auth/Message">留言</a></li>
                {{ if eq .User.Role 1 }}
                <li class="layui-nav-item {{if equrl .path `/Node/Index`}}layui-this{{ end }} "><a href="/Node/Index">AddBlog</a></li>
                {{ end }}
                <li class="layui-nav-item {{if equrl .path `/Auth/About`}}layui-this{{ end }} "><a href="/User/LoginOut">退出登录</a></li>
            </ul>
            <a href="#" class="personal pull-left">
                <i class="layui-icon layui-icon-username">
                    <span>{{ if .IsLogin }}{{ .User.Name }}{{ end }}</span>
                </i>
            </a>
        </div>
        <div class="mobile-nav pull-right" id="mobile-nav">
            <a href="javascript:">
                <i class="layui-icon layui-icon-more"></i>
            </a>
        </div>
    </div>
    <ul class="pop-nav" id="pop-nav">
        <li><a href="index.html">首页</a></li>
        <li><a href="message.html">留言</a></li>
        <li><a href="about.html">关于</a></li>
    </ul>
</div>
<canvas id="Mycanvas"></canvas>
<script src="/static/js/bg.js"></script>